<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>

</head>
<body>
<div class="wrap js-check-wrap">

    <form action="{:url('Project/develDemandPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <input type="hidden" name='id' value="{$id}">
            <div class="col-md-9">
                <table class="table table-bordered">
                    <tr>
                        <th>需求内容：<span class="form-required">*</span></th>
                        <td>
                            <textarea name="content" class="form-control" required rows="10"></textarea>
                        </td>
                    </tr>
          
                                
                    
                </table>
                <hook name="portal_admin_article_edit_view_main"/>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
                        
                    </div>
                </div>
            </div>
            <div class="col-md-3">
                

                <hook name="portal_admin_article_edit_view_right_sidebar"/>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>


<script type="text/javascript">
    //关闭窗口状态  1 开 2 关  
    var status = "{$status}";
    if(status == 2)
    {
        var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
        window.parent.location.reload();//刷新父页面
        parent.layer.close(index);  // 关闭layer
    }

</script>
</body>
</html>
